name1 = 'hello'
name2 = 'hello'

#值比较
print(name1 == name2)
#身份比较(id地址比较)
print(name1 is name2)
print(id(name1), id(name2))  #身份一致

list3 = [1,2,3]
list4 = [1,2,3]

#值比较
print(list3 == list4)
#身份比较
print(list3 is list4)
print(id(list3), id(list4))


